using UnityEngine;

namespace KaoticSSB.Weapons
{
	public class WeaponBase : MonoBehaviour
	{
		public int PlayerID
		{
			get;
			set;
		}
		
		public bool Active
		{
			get;
			protected set;
		}

		public WeaponBase ()
		{
		}

		// Use this for initialization
		public virtual void Start () 
		{
			Active = true;
		}

		public virtual void Update()
		{

		}
		public virtual void OnCollisionEnter2D(Collision2D collisionObject)
		{
			mCollided = true;
		}
		public virtual void OnTriggerEnter2D(Collider2D collisionObject)
		{
			mCollided = true;
		}
		
		protected bool mCollided = false;
	}
}

